package com.sy.core.upload;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 文件上传服务配置类
 *
 * @author Chong.caixin
 */
@Component
@ConfigurationProperties(prefix = "shadow")
public class UploadConfig {
    // 上传路径
    private String uploadPath;
    // linux 上传路径
    private String uploadPathForLinux;
    //文件上传前缀
    private String uploadPrefix;


    public String getUploadPath() {
        return uploadPath;
    }

    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }

    public String getUploadPathForLinux() {
        return uploadPathForLinux;
    }

    public void setUploadPathForLinux(String uploadPathForLinux) {
        this.uploadPathForLinux = uploadPathForLinux;
    }


    public String getUploadPrefix() {
        return uploadPrefix;
    }

    public void setUploadPrefix(String uploadPrefix) {
        this.uploadPrefix = uploadPrefix;
    }
}
